import { post } from './axios'

// 申请贷款
export const addAccount = data => {
    return post('/account/add', data)
}

// 修改贷款信息
export const editAccount = data => {
    return post('/account/edit', data)
}

// 审核贷款申请
export const okAccount = data => {
    return post('/account/ok', data)
}

// 删除贷款申请
export const deleteAccount = data => {
    return post('/account/delete', data)
}

// 分页获取贷款申请列表
export const listAccountByPage = data => {
    return post('/account/list/page', data)
}
